<?php
namespace Common\Model;

class HotelCheckinUsableModel extends \Common\Model\BaseModel
{

    protected $trueTableName = 'bk_hotel_checkin_usable';
    
    public function getCheckinStatus($hotelId) {
        $option = array(
            'hotelentity_id' => $hotelId,
            'isdelete' => 0,
        );
        return $this->where($option)->getField('type');
    }
}